package com.sdry.basic.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sdry.basic.entity.Pylons;
import org.apache.ibatis.annotations.Update;


import java.util.List;

/**
 * (Pylons)表数据库访问层
 *
 * @author makejava
 * @since 2020-03-10 16:14:03
 */
public interface PylonsMapper extends BaseMapper<Pylons> {

    /**
     * 删除挂架表
     * @param pyId
     * @return
     */
    @Update("update pylons set del_flag = 1 , update_date = getDate() where py_id = #{pyId}")
    Integer deletePylons(Long pyId);
}